package com.hutao.manage.query;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class MedicalSearchQuery extends PageQuery implements Serializable {

	private static final long serialVersionUID = 1L;

	// 姓名
	private String name;
	// 身份证号
	private String idCard;
	// 性别
	private Integer sexId;
	// 病案号
	private String mrId;
	// 住院号
	private String onlyId;
	// 出院方式id集合
	private String outHospitalTypeIds;
	// 出院科室Id
	private Integer outHospitalOfficeId;
	// 已进行流程(treatement_trace_id)id
	private String treatementTypeIds;

	// 未进行流程(treatement_trace_id)id
	private String unTreatementTypeIds;
	// 出院开始时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date outHospitalStartTime;
	// 出院结束时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date outHospitalEndTime;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Integer getSexId() {
		return sexId;
	}

	public void setSexId(Integer sexId) {
		this.sexId = sexId;
	}

	public String getMrId() {
		return mrId;
	}

	public void setMrId(String mrId) {
		this.mrId = mrId;
	}

	public Integer getOutHospitalOfficeId() {
		return outHospitalOfficeId;
	}

	public void setOutHospitalOfficeId(Integer outHospitalOfficeId) {
		this.outHospitalOfficeId = outHospitalOfficeId;
	}

	public Date getOutHospitalStartTime() {
		return outHospitalStartTime;
	}

	public void setOutHospitalStartTime(Date outHospitalStartTime) {
		this.outHospitalStartTime = outHospitalStartTime;
	}

	public Date getOutHospitalEndTime() {
		return outHospitalEndTime;
	}

	public void setOutHospitalEndTime(Date outHospitalEndTime) {
		this.outHospitalEndTime = outHospitalEndTime;
	}

	public String getOutHospitalTypeIds() {
		return outHospitalTypeIds;
	}

	public void setOutHospitalTypeIds(String outHospitalTypeIds) {
		this.outHospitalTypeIds = outHospitalTypeIds;
	}

	public String getTreatementTypeIds() {
		return treatementTypeIds;
	}

	public void setTreatementTypeIds(String treatementTypeIds) {
		this.treatementTypeIds = treatementTypeIds;
	}

	public String getUnTreatementTypeIds() {
		return unTreatementTypeIds;
	}

	public void setUnTreatementTypeIds(String unTreatementTypeIds) {
		this.unTreatementTypeIds = unTreatementTypeIds;
	}

	public String getOnlyId() {
		return onlyId;
	}

	public void setOnlyId(String onlyId) {
		this.onlyId = onlyId;
	}

}
